package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialFileRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialFilePo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialFileDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialFileDomainImpl extends BaseDomainImpl<ContractInitialFileDto, ContractInitialFilePo> implements ContractInitialFileDomain {

    @Resource
    private ContractInitialFileRepository contractInitialFileRepository;

    @Override
    public BaseRepository<ContractInitialFilePo> getMapper() {
        return contractInitialFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialFilePo>> getRepositoryClass() {
        return ContractInitialFileRepository.class;
    }

}
